package com.engineering.elink.videodao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.engineering.elink.domain.Label;

public interface LabelMapper {
    int deleteByPrimaryKey(Integer labelId);

    int insert(Label record);

    int insertSelective(Label record);

    Label selectByPrimaryKey(Integer labelId);

    int updateByPrimaryKeySelective(Label record);

    int updateByPrimaryKey(Label record);
    
    List<Label> getLabelList(@Param("labelId") String labelId);
    
	Long insertBatch(List<Label> labelList);

	List<Integer> select(@Param("labels")String labels,@Param("userId")String userId,@Param("count") int count);

	List<Label> selectByLabelNameType(@Param("labelName") String labelName,@Param("type") Integer type);
	
	List<Label> selectLabel(@Param("type")Integer type,@Param("keyWord")String keyWord,@Param("count")Integer count);
    
}